<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<% String path = request.getContextPath();
	request.setAttribute("path",path);%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>考勤管理系统 - 查看员工信息</title>
	<meta name="keywords" content="">
	<meta name="description" content="">

	<link rel="shortcut icon" href="favicon.ico">
	<link href="${path}/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
	<link href="${path}/css/font-awesome.css?v=4.4.0" rel="stylesheet">

	<!-- Data Tables -->
	<link href="${path}/css/plugins/dataTables/dataTables.bootstrap.css"
		  rel="stylesheet">
	<link href="${path}/css/animate.css" rel="stylesheet">
	<link href="${path}/css/style.css?v=4.1.0" rel="stylesheet">

</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-title">
					<h5>查看员工信息</h5>
				</div>
				<div class="ibox-content">
					<form method="post" class="form-horizontal" action="EmployeeList">
						<%--<c:forEach items="${employee}" var="employee">--%>
						<div class="form-group">
							<div class="col-md-1"></div>
							<div class="col-md-4">
								<label class="col-sm-8 control-label">工号：</label>
								<p class="form-control-static">${employee.employee_number}</p>
							</div>
							<div class="col-md-4">
								<label class="col-sm-5 control-label">姓名：</label>
								<p class="form-control-static">${employee.name}</p>
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-1"></div>
							<div class="col-md-4">
								<label class="col-sm-8 control-label">性别：</label>
								<p class="form-control-static">${employee.gender}</p>
							</div>
							<div class="col-md-4">
								<label class="col-sm-5 control-label">出生日期：</label>
								<p class="form-control-static">${employee.birthday}</p>
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-1"></div>
							<div class="col-md-4">
								<label class="col-sm-8 control-label">电话：</label>
								<p class="form-control-static">${employee.telephone}</p>
							</div>
							<div class="col-md-4">
								<label class="col-sm-5 control-label">邮箱：</label>
								<p class="form-control-static">${employee.email}</p>
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-1"></div>
							<div class="col-md-4">
								<label class="col-sm-8 control-label">籍贯：</label>
								<p class="form-control-static">${employee.address}</p>
							</div>
							<div class="col-md-4">
								<label class="col-sm-5 control-label">学历：</label>
								<p class="form-control-static">${employee.education}</p>
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-1"></div>
							<div class="col-md-4">
								<label class="col-sm-8 control-label">部门：</label>
								<p class="form-control-static">${employee.depName}</p>
							</div>
							<div class="col-md-4">
								<label class="col-sm-5 control-label">职称：</label>
								<p class="form-control-static">${employee.posName}</p>
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-1"></div>
							<div class="col-md-4">
								<label class="col-sm-8 control-label">入职时间：</label>
								<p class="form-control-static">${employee.in_time}</p>
							</div>
							<div class="col-md-4">
								<label class="col-sm-5 control-label">备注：</label>
								<p class="form-control-static">${employee.notes}</p>
							</div>
						</div>
						<div class="hr-line-dashed"></div>
						<div class="form-group">
							<div class="col-sm-4 col-sm-offset-8">
								<a href="${path}/EmployeeList?pageNo=1" class="btn btn-info">返&nbsp;&nbsp;回</a>
							</div>
						</div>
						<%--	</c:forEach>--%>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>

<!-- 全局js -->
<script src="${path}/js/jquery.min.js?v=2.1.4"></script>
<script src="${path}/js/bootstrap.min.js?v=3.3.6"></script>
<script src="${path}/js/plugins/jeditable/jquery.jeditable.js"></script>

<!-- Data Tables -->
<script src="${path}/js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="${path}/js/plugins/dataTables/dataTables.bootstrap.js"></script>

<!-- 自定义js -->
<script src=${path}/js/content.js?v=1.0.0"></script>

</body>
</html>
